package com.ruoyi.customerService.service.impl;

import com.ruoyi.customerService.domain.SheetChannel;
import com.ruoyi.customerService.domain.SheetType;
import com.ruoyi.customerService.mapper.SheetChannelMapper;
import com.ruoyi.customerService.mapper.SheetTypeMapper;
import com.ruoyi.customerService.service.SheetChannelService;
import com.ruoyi.customerService.service.SheetTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SheetTypeServiceImpl implements SheetTypeService {
    @Autowired
    private SheetTypeMapper sheetTypeMapper;

    @Override
    public List<SheetType> selectAll() {
        return sheetTypeMapper.selectAll();
    }

    @Override
    public Boolean insert(SheetType sheetType) {
        return sheetTypeMapper.insert(sheetType);
    }

    @Override
    public Boolean update(SheetType sheetType) {
        return sheetTypeMapper.update(sheetType);
    }

    @Override
    public Boolean deleteById(Integer id) {
        return sheetTypeMapper.deleteById(id);
    }

}
